<div ng-controller="InterfaceNewCtrl">
	<!-- header -->
	<div class="wrapper bg-light lter b-b">
		<a ui-sref="app.interface.list" class="btn btn-sm btn-default w-xxs m-r-sm" tooltip="返回"><i class="fa fa-long-arrow-left"></i></a>
		<div class="btn-group pos-stc m-r-sm">
			<a ng-click="save()" href class="btn btn-sm btn-default w-xxs w-auto-xs" tooltip="保存"><i class="fa fa-save"></i></a> 
			<a ui-sref="app.interface.list" class="btn btn-sm btn-default w-xxs w-auto-xs" tooltip="重置"><i class="fa icon-refresh"></i></a>
		</div>
	</div>
	<!-- / header -->
	<div class="wrapper">
		<form ng-init="init()" name="newInterface" class="form-horizontal m-t-lg">
			<div class="row">
				<div class="col-lg-6">
					<div class="form-group">
						<label class="col-lg-4 control-label">提供商:</label>
						<div class="col-lg-8">
							<input type="text" required class="form-control" ng-model="provider.providerName">
						</div>
					</div>
					<div class="form-group">
						<label class="col-lg-4 control-label">主页地址:</label>
						<div class="col-lg-8">
							<input type="text" class="form-control" ng-model="provider.homepage">
						</div>
					</div>
					<div class="form-group">
						<label class="col-lg-4 control-label">主页地址:</label>
						<div class="col-lg-8">
							<select name="account" ng-model="provider.code" class="form-control m-b">
				              <option ng-repeat="codes in providerCodeValues" value="{{codes}}">codes</option>
				            </select>
						</div>
					</div>
					
					
					
					<div class="form-group">
						<label class="col-lg-4 control-label">描述:</label>
						<div class="col-lg-8">

							<textarea style="height: 200px;" ng-model="provider.remark" class="form-control"></textarea>
						</div>
					</div>
				</div>
			
				<div class="col-lg-5">
					<div class="form-group">
						<label class="col-lg-2 control-label">图标:</label>
						<div class="col-lg-10">
							<div class="wrapper-sm b-a bg-white m-r-xs m-b-xs">
								<div class="bg-light" style="min-height: 165px">
									<img width="100%"  ng-src="{{myCroppedImage}}" />
								</div>
							</div>
							<div class="col-lg-12">
								<input type="file" id="fileInput" />
							</div>
						</div>
						
					</div>



				</div>

				
			</div>

		</form>
	</div>
</div>